package io.gatling.extensions.mysql

import io.gatling.extensions.mysql.builder.MysqlActionBuilder
import io.gatling.extensions.mysql.protocol.{MysqlProtocol, MysqlProtocolBuilder}

object Predef {

  def mysql(host: String, port: Int = 3306, db: String, userName: String, passward: String, pollSize: Int = 50): MysqlProtocol = MysqlProtocolBuilder(host, port, db, userName, passward)

  def mysql(name: String): MysqlActionBuilder = MysqlActionBuilder(name)
}
